<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	String returnUrl = (String) request.getAttribute("returnUrl");
	String info = (String) request.getAttribute("info");
	String url = path + returnUrl;
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'fail.jsp' starting page</title>


	</head>

	<body>
		<table border="1">
			<tr>
				<td>
					<table border="0" width="300" height="100">
						<tr>
							<td valign="middle">
								<img src="<%=request.getContextPath()%>/images/success.jpg" height="90" width="100">
							</td>
							<td>
								<%=info%>
							</td>
						</tr>
						<tr>
							<td align="right" colspan="2">
								<a href="<%=url%>">Back</a>

							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</body>
</html>
